package com.zsxb.crm.service.impl;

import com.zsxb.crm.mapper.DictMapper;
import com.zsxb.crm.pojo.SysStatus;
import com.zsxb.crm.service.DictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DictServiceImpl implements DictService {
    @Autowired
    private DictMapper dictMapper;

    /**
     * 显示状态 显示/隐藏
     */
    @Override
    public List<SysStatus> showOrHide() {
        return dictMapper.showOrHide();
    }

    /**
     * 菜单状态 启用/禁用
     */
    @Override
    public List<SysStatus> normalOrDisable() {
        return dictMapper.normalOrDisable();
    }
}
